import * as Base from "./base";

function wxPublicLogin(data) {
	return Base.get('/api/user/wxPublicLogin', data);
}

function editProfile(data) {
	return Base.post('/api/user/profile', data);
}

function login(data) {
	return Base.post('/api/user/login', data);
}

function getRelUserList(data) {
	return Base.post('/api/user/getRelUserList', data);
}

function switchUser(data) {
	return Base.post('/api/user/switch', data);
}

export {
	wxPublicLogin,
	editProfile,
	login,
	getRelUserList,
	switchUser
}
